package com.gakj.truck.third.api.mapper;

import com.gakj.truck.third.core.annotation.MyBatisMapper;
import com.gakj.truck.third.core.domain.UserOuman;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisMapper
public interface UserOumanMapper {

	List<UserOuman> getAll();

    void save(UserOuman userOuman);

    UserOuman getById(@Param(value = "id") Long id);

    void delete(@Param(value = "id") Long id);

    UserOuman getbyOumanid(@Param(value = "oumanid") Long oumanid);

    void update(UserOuman userOuman);
}
